package org.springsource.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;
import org.springsource.dao.PlayerDao;
import org.springsource.domain.Player;

@Repository
public class PlayerDaoImpl extends AbstractJpaDao<Player> implements PlayerDao {
	
	public PlayerDaoImpl(){
	      setClazz(Player.class );
	}
	
	@Override
	public List<Player> getAll() {
		return super.findAll();
	}

	@Override
	public Player getPlayer(Long id) {
		return super.findOne(id);
	}

}
